#include "Particle.h"

Particle::Particle()
{
	//pos.x = 0.0f;
	//pos.y = 0.0f;
	//pos.z = 0.0f;
	pos.x = rand()%200/100.0f;
	pos.y = rand()%150/100.0f  + 1.0f;
	pos.z = rand()%200/100.0f;
	velocity.x = 0.0f;
	velocity.y = 0.0f;
	velocity.z = 0.0f;
	acceleration.x = 0.0f;
	acceleration.y = 0.0f;
	acceleration.z = 0.0f;
	density = 1.0f;
	mass = 1.0f;
	r = rand()%100/100.0f;
	g =rand()%100/100.0f;
	b = rand()%100/100.0f;
	isSurface = false;
}

Particle::Particle(vector3 pos, vector3 vel){
	this->pos.x = pos.x;
	this->pos.y = pos.y;
	this->pos.z = pos.z;

	this->velocity = vel;
	acceleration.x = 0.0f;
	acceleration.y = 0.0f;
	acceleration.z = 0.0f;
	density = 1.0f;
	mass = 1.0f;
	r = rand()%100/100.0f;
	g =rand()%100/100.0f;
	b = rand()%100/100.0f;
	isSurface = false;
}

Particle::~Particle()
{

}